/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.gis.eemc.dao;

import net.gis.eemc.domain.Faculty;
import net.gis.eemc.domain.Department;

import java.util.List;

/**
 *
 * @author Sergey
 */
public interface DepartmentDAO {

    public void addDepartment(Department dept);

    public List<Department> listDeptartment();

    public List<Department> listDeptartment(Integer fac_id);

    public List<Department> listDeptartment(Faculty fac);

    public void removeDepartment(Integer id);

    public void updateDepartment(Department dep);

    public List<Department> getDepartmentWithTitle(String Title);

    public List<Department> getDepartmentWithShortName(String shortName);

    public Department getDepartmentWithID(Integer id);
}
